<template>
	<view class="container assistant-container">
		<view class="page-main">
			<view class="page-list" @click="jump('/pagesChat/assistant/loglist')">
				<image class="list-img" :src="$fileUrl+'ass-1.png'" mode="aspectFill"></image>
				<view class="list-title">就诊记录</view>
				<view class="list-tips">就诊记录详细查看</view>
			</view>
			<view class="page-list" @click="jump('/pagesChat/assistant/caselist')">
				<image class="list-img" :src="$fileUrl+'ass-2.png'" mode="aspectFill"></image>
				<view class="list-title">电子病历</view>
				<view class="list-tips">手机病厉随身携带</view>
			</view>
			<view class="page-list" @click="jump('/pagesChat/assistant/tipslist')">
				<image class="list-img" :src="$fileUrl+'ass-3.png'" mode="aspectFill"></image>
				<view class="list-title">复诊提醒</view>
				<view class="list-tips">下一阶段疗程提示</view>
			</view>
		</view>
	</view>
</template>

<script setup lang="ts">
	import { onMounted, ref } from 'vue';
	import { onShow } from "@dcloudio/uni-app"
	const jump = (url : string) => {
		uni.navigateTo({ url: url })
	}
</script>

<style lang="scss">
	.assistant-container {
		background: linear-gradient(180deg, #DAFBFB 0%, #D7E5FF 8%, #F2F3F8 40%, #F2F3F8 100%);
		padding: 30rpx;
		padding-bottom: 120rpx;
		.page-main{
			display: flex;
			align-items: center;
			justify-content: space-between;
			flex-wrap: wrap;
		}
		.page-list{
			background-color: #fff;
			width: 335rpx;
			display: inline-block;
			border-radius: 10rpx;
			box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(0,0,0,0.1);
			margin-bottom: 20rpx;
			padding: 30rpx;
		}
		.list-img{
			width: 62rpx;
			height: 62rpx;
		}
		.list-title{
			font-size: 32rpx;
			color: #222222;
		}
		.list-tips{
			font-size: 24rpx;
			color: #6D6D6D;
			margin-top: 10rpx;
		}
	}
</style>